package cn.com.self.apis.core.vo;

public class BaseReqVo {
	// 第几页
	protected int page = 1;
	// 每页显示数量大小
	protected int size = 10;
	// 排序字段
	protected String sort;
	// 升序/降序
	protected String order;

	public int getStart() {
	    return (page-1)*size;
    }

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}
}